
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */
package com.hlkj.pay.app.transfer;

import com.hlkj.pay.infrastructure.model.common.MessageRecordDO;
import com.hlkj.pay.vo.common.resp.MessageRecordResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author monk
 * @date 2023/03/23
 */
@Mapper
public interface MessageRecordDoToResp {

    MessageRecordDoToResp INSTANCE = Mappers.getMapper(MessageRecordDoToResp.class);

    /**
     * list转换
     *
     * @param messageRecordList
     * @return
     */
    List<MessageRecordResp> doToRespList(List<MessageRecordDO> messageRecordList);
    /**
     * list转换
     *
     * @param messageRecord
     * @return
     */
    MessageRecordResp doToResp(MessageRecordDO messageRecord);
   
    
}
